package com.zetyun.tiger.format.date.compact.gbism;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.zetyun.rt.meta.jsonschema.annotation.JsonSchemaTitle;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class GbismDataFormatTuple {

    @JsonSchemaTitle("表全限定名称")
    @JsonProperty(required = true)
    private String fullTbName;

    @JsonSchemaTitle("表中文名称")
    @JsonProperty(required = true)
    private String tbCnName;


    @JsonSchemaTitle("普通格式的日期字段名称(格式:yyyyMMdd)")
    @JsonProperty(required = true, defaultValue = "TRXDATE")
    private String dateField;

    @JsonSchemaTitle("普通格式的交易时间字段名称(格式:HHmmss)")
    @JsonProperty(required = true, defaultValue = "TRXTIME")
    private String trxTimeField;

    @JsonSchemaTitle("普通格式的结束时间字段名称(格式:HHmmss)")
    @JsonProperty(required = true, defaultValue = "ENDTIME")
    private String endTimeField;
}
